from rest_framework.pagination import PageNumberPagination

class StandardResultsSetPagination(PageNumberPagination):
  # 默认大小
  page_size = 10
  # 第几页
  page_query_param = 'p'
  # 每页大小
  page_size_query_param = 'ps'